local CommonOHOH = _G.CommonOHOH;
local M = CommonOHOH.class.new(script, script.Parent.BuffBase);

function M.new(self,...)
	return M(self,...);
end;
function M.ctor(self,bid,player,time,boost)
	
    self.boost=boost
    M.super.ctor(self,bid,player,time);
end;

function M.Use(self)
   self.Conn= self.player.DropMulEvent:Connect(function(key)
        if key=="base_diamond" then
            return self.boost
        end
    end)
end

function M.dtor(self)
    if self.Conn then
        self.Conn:Disconnect()
        self.Conn=nil
    end
	M.super.dtor(self);
end;




return M;
